

#ifndef _ROColorScalarBar2d_H_
#define _ROColorScalarBar2d_H_

#include "ThreeDApi.hpp"

#include <vtkScalarBarActor.h>
#include <vtkMath.h>
#include <vtkPoints.h>
#include <vtkTextProperty.h>
#include <vtkProperty2D.h>
#include <vtkScalarsToColors.h>
#include <vtkCellArray.h>
#include <vtkPolyData.h>
#include <vtkPolyDataMapper2D.h>
#include <vtkScalarBarActorInternal.h>
#include <vtkCellData.h>
#include <vtkPointData.h>
#include <vtkTextMapper.h>
#include <vtkTextActor.h>
#include <vtkViewport.h>

namespace NS3d {

    class _3DAPI ROColorScalarBar2d :
        public vtkScalarBarActor
    {
    public:
        static ROColorScalarBar2d* New();
        vtkTypeMacro(ROColorScalarBar2d, vtkScalarBarActor);

        virtual void ConfigureTicks() override;
        void ConfigureTitle() override;

    protected:
        ROColorScalarBar2d();
        virtual ~ROColorScalarBar2d() override;
        virtual void ConfigureScalarBar() override;
        unsigned char color[4]{ 0, 0, 0, 255 };

    private:



    };

}

#endif

